﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Framework.Core.Const
{
    /// <summary>
    /// 系统通用常量
    /// </summary>
    public static class CommonConst
    {
        /// <summary>
        /// 删除标记;0 未删除
        /// </summary>
        public const int DeleteFlagUnDelete = 0;
        /// <summary>
        /// 删除标记;1 已删除
        /// </summary>
        public const int DeleteFlagDelete = 1;
        /// <summary>
        /// 启用标记：0 未启用
        /// </summary>
        public const int StatusFlagDisable = 0;
        /// <summary>
        /// 启用标记：1 已启用
        /// </summary>
        public const int StatusFlagEnable = 1;
        #region 缓存key
        /// <summary>
        /// 用户权限缓存,全部已Auth开头,后更角色id
        /// </summary>
        public const string Cache_Auth = "Auth_";
        #endregion
        /// <summary>
        /// 超管的角色id是1443124920048553984,超管不验证权限直接放行
        /// </summary>
        public const string AuthMasterRoleId = "1443124920048553914";
    }
}
